package com.ruoyi.business.mapper;

import java.util.List;

import com.ruoyi.bizsys.domain.SmsTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ruoyi.bizsys.domain.BatchJobMonitoring;
import com.ruoyi.bizsys.domain.DateBatchFailLoan;

/**
 * @Author: Jamnsin
 * @Date: 2019/12/6 4:13 下午
 */
@Mapper
public interface BatchDateJobMapper {

    public BatchJobMonitoring getBatchDateRecord();
    
    public List<DateBatchFailLoan> getBatchJobFailRecord(@Param("batchDate")String batchDate);

    /**
     * 批量新增短信
     * @param smsTasks
     * @return
     */
    int saveBatchSmsTask(@Param("smsTasks") List<SmsTask> smsTasks);
}
